{{ header }} {{ column_left }} 
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="pull-right">
        <button type="submit" form="form-information" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
        <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      <h1>{{ heading_title }}</h1>
      <ul class="breadcrumb">
        {% for breadcrumb in breadcrumbs %} 
        <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
        {% endfor %} 
      </ul>
    </div>
  </div>
  <div class="container-fluid">
    {% if error_warning %} 
    <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_warning }} 
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %} 
    {% if success %} 
    <div class="alert alert-success"><i class="fa fa-check-circle"></i> {{ success }} 
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %} 
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_form }}</h3>
      </div>
      <div class="panel-body">
        <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-information" class="form-horizontal">
          <ul class="nav nav-tabs">
            <li class="active"><a href="#tab-general" data-toggle="tab">{{ tab_general }} </a></li>
            <li><a href="#tab-data" data-toggle="tab">{{ tab_data }} </a></li>
            <li><a href="#tab-category" data-toggle="tab">{{ tab_category }} </a></li>
            <li><a href="#tab-blog" data-toggle="tab">{{ tab_blog }} </a></li>
          </ul>
          <div class="tab-content">
            <div class="tab-pane active" id="tab-general">
              <ul class="nav nav-tabs" id="language">
                {% for language in languages %}
                <li><a href="#language{{ language.language_id }}" data-toggle="tab"><img src="language/{{ language.code }}/{{ language.code }}.png" title="{{ language.name }}" /> {{ language.name }}</a></li>
                {% endfor %}
              </ul>
              <div class="tab-content">
                {% for language in languages %}
                <div class="tab-pane" id="language{{ language.language_id }}">
                  <div class="form-group required">
                    <label class="col-sm-2 control-label" for="input-title{{ language.language_id }}">{{ entry_title }}</label>
                    <div class="col-sm-10">
                      <input type="text" name="cms_blog_description[{{ language.language_id }}][title]" value="{{ cms_blog_description[language.language_id] ? cms_blog_description[language.language_id].title }}" placeholder="{{ entry_name }}" id="input-title{{ language.language_id }}" class="form-control" />
                      {% if error_title[language.language_id] %}
                      <div class="text-danger">{{ error_title[language.language_id] }}</div>
                      {% endif %}
                    </div>
                  </div>
                  <div class="form-group required">
                    <label class="col-sm-2 control-label" for="input-meta-title{{ language.language_id }}">{{ entry_meta_title }}</label>
                    <div class="col-sm-10">
                      <input type="text" name="cms_blog_description[{{ language.language_id }}][meta_title]" value="{{ cms_blog_description[language.language_id] ? cms_blog_description[language.language_id].meta_title }}" placeholder="{{ entry_meta_title }}" id="input-meta-title{{ language.language_id }}" class="form-control" />
                      {% if error_meta_title[language.language_id] %}
                      <div class="text-danger">{{ error_meta_title[language.language_id] }}</div>
                      {% endif %}
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-meta-description{{ language.language_id }}">{{ entry_meta_description }}</label>
                    <div class="col-sm-10">
                      <textarea name="cms_blog_description[{{ language.language_id }}][meta_description]" rows="5" placeholder="{{ entry_meta_description }}" id="input-meta-description{{ language.language_id }}" class="form-control">{{ cms_blog_description[language.language_id] ? cms_blog_description[language.language_id].meta_description }}</textarea>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-meta-keyword{{ language.language_id }}">{{ entry_meta_keyword }}</label>
                    <div class="col-sm-10">
                      <textarea name="cms_blog_description[{{ language.language_id }}][meta_keyword]" rows="5" placeholder="{{ entry_meta_keyword }}" id="input-meta-keyword{{ language.language_id }}" class="form-control">{{ cms_blog_description[language.language_id] ? cms_blog_description[language.language_id].meta_keyword }}</textarea>
                    </div>
                  </div>
                </div>
                {% endfor %}
              </div>
            </div>
            
            <div class="tab-pane" id="tab-data">
            
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-cms-blog-large-image-height">{{ entry_cms_blog_large_image }}</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_large_image_width" value="{{ cms_blog_large_image_width }}" placeholder="{{ entry_cms_blog_large_image_width }}" id="input-cms-blog-large-image-width" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_large_image_height" value="{{ cms_blog_large_image_height }}" placeholder="{{ entry_cms_blog_large_image_height }}" class="form-control" />
                    </div>
                  </div>
                  {% if error_cms_blog_large_image %} 
                  <div class="text-danger">{{ error_cms_blog_large_image }}</div>
                  {% endif %} 
                </div>
              </div>
              
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-cms-blog-middle-image-height">{{ entry_cms_blog_middle_image }}</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_middle_image_width"value="{{ cms_blog_middle_image_width }}" placeholder="{{ entry_cms_blog_middle_image_width }}" id="input-cms-blog-middle-image-width" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_middle_image_height" value="{{ cms_blog_middle_image_height }}" placeholder="{{ entry_cms_blog_middle_image_height }}" class="form-control" />
                    </div>
                  </div>
                  {% if error_cms_blog_middle_image %} 
                  <div class="text-danger">{{ error_cms_blog_middle_image }}</div>
                  {% endif %} 
                </div>
              </div>
              
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-cms-blog-small-image-height">{{ entry_cms_blog_small_image }}</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_small_image_width" value="{{ cms_blog_small_image_width }}" placeholder="{{ entry_cms_blog_small_image_width }}" id="input-cms-blog-small-image-width" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_small_image_height" value="{{ cms_blog_small_image_height }}" placeholder="{{ entry_cms_blog_small_image_height }}" class="form-control" />
                    </div>
                  </div>
                  {% if error_cms_blog_small_image %} 
                  <div class="text-danger">{{ error_cms_blog_small_image }} </div>
                  {% endif %} 
                </div>
              </div>
              
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-cms-blog-items-per-page">{{ entry_cms_blog_items_per_page }}</label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_items_per_page" value="{{ cms_blog_items_per_page }}" placeholder="{{ entry_cms_blog_items_per_page }}" id="input-cms-blog-items-per-page" class="form-control" />
                </div>
              </div>
              
            </div>
            
            <div class="tab-pane" id="tab-category">
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-children-columns">{{ entry_cms_blog_children_columns }}</label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_children_columns" value="{{ cms_blog_children_columns }}" placeholder="{{ entry_cms_blog_children_columns }}" id="input-cms-blog-children-columns" class="form-control" />
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-image-demension">{{ entry_cms_blog_category_image_demension }} </label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_general_cwidth" value="{{ cms_blog_general_cwidth }}" placeholder="{{ entry_cms_blog_general_cwidth }}" id="input-cms-blog-general-cwidth" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="cms_blog_general_cheight" value="{{ cms_blog_general_cheight }}" placeholder="{{ entry_cms_blog_general_cheight }}" class="form-control" />
                    </div>
                  </div>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-cat-limit-leading-blog">{{ entry_cms_blog_category_limit_leading_blog }}</label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_category_limit_leading_blog" value="{{ cms_blog_category_limit_leading_blog }}" placeholder="{{ entry_cms_blog_category_limit_leading_blog }}" id="input-cms-blog-cat-limit-leading-blog" class="form-control" />
                </div>

              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-cat-limit-secondary-blog">{{ entry_cms_blog_category_limit_secondary_blog }}</label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_category_limit_secondary_blog" value="{{ cms_blog_category_limit_secondary_blog }}" placeholder="{{ entry_cms_blog_category_limit_secondary_blog }}" id="input-cms-blog-cat-limit-secondary-blog" class="form-control" />
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-category_leading_image_type">{{ entry_cms_blog_category_leading_image_type }}</label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_leading_image_type" id="input-category_leading_image_type" class="form-control">
                    {% if cms_blog_category_leading_image_type  ==  'l' %} 
                    <option value="l" selected="selected">{{ text_large }} </option>
                    <option value="s">{{ text_small }} </option>
                    {% else %}   
                    <option value="l">{{ text_large }} </option>
                    <option value="s" selected="selected">{{ text_small }} </option>
                    {% endif %} 
                    
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-category_secondary_image_type">{{ entry_cms_blog_category_secondary_image_type }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_secondary_image_type" id="input-category_secondary_image_type" class="form-control">
                    {% if cms_blog_category_secondary_image_type  ==  'l' %} 
                    <option value="l" selected="selected">{{ text_large }} </option>
                    <option value="s">{{ text_small }} </option>
                    {% else %}   
                    <option value="l">{{ text_large }} </option>
                    <option value="s" selected="selected">{{ text_small }} </option>
                    {% endif %} 
                    
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-cat-columns-leading-blog">{{ entry_cms_blog_category_columns_leading_blog }} </label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_category_columns_leading_blog" value="{{ cms_blog_category_columns_leading_blog }}" placeholder="{{ entry_cms_blog_category_columns_leading_blog }}" id="input-cms-blog-cat-columns-leading-blog" class="form-control" />
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-cat-columns-secondary-blogs">{{ entry_cms_blog_category_columns_secondary_blogs }} </label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_category_columns_secondary_blogs" value="{{ cms_blog_category_columns_secondary_blogs }}" placeholder="{{ entry_cms_blog_category_columns_secondary_blogs }}" id="input-cms-blog-cat-columns-secondary-blogs" class="form-control" />
                </div>
              </div>
            
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-title">{{ entry_cms_blog_category_page_show_title }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_title" id="input-cms-blog-category-page-show-title" class="form-control">
                    {% if cms_blog_category_page_show_title %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-description">{{ entry_cms_blog_category_page_show_brief }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_brief" id="input-cms-blog-category-page-show-description" class="form-control">
                    {% if cms_blog_category_page_show_brief == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-readmore">{{ entry_cms_blog_category_page_show_readmore }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_readmore" id="input-cms-blog-category-page-show-readmore" class="form-control">
                    {% if cms_blog_category_page_show_readmore == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-image">{{ entry_cms_blog_category_page_show_image }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_image" id="input-cms-blog-category-page-show-image" class="form-control">
                    {% if cms_blog_category_page_show_image == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-author">{{ entry_cms_blog_category_page_show_author }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_author" id="input-cms-blog-category-page-show-author" class="form-control">
                    {% if cms_blog_category_page_show_author == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-category">{{ entry_cms_blog_category_page_show_category }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_category" id="input-cms-blog-category-page-show-category" class="form-control">
                    {% if cms_blog_category_page_show_category == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-created-date">{{ entry_cms_blog_category_page_show_created_date }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_created_date" id="input-cms-blog-category-page-show-created-date" class="form-control">
                    {% if cms_blog_category_page_show_created_date == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-hits">{{ entry_cms_blog_category_page_show_hits }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_hits" id="input-cms-blog-category-page-show-hits" class="form-control">
                    {% if cms_blog_category_page_show_hits == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-category-page-show-comment-counter">{{ entry_cms_blog_category_page_show_comment_counter }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_category_page_show_comment_counter" id="input-cms-blog-category-page-show-comment-counter" class="form-control">
                    {% if cms_blog_category_page_show_comment_counter == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>

            </div>
            
            <div class="tab-pane" id="tab-blog">
            
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-image-type">{{ entry_cms_blog_image_type }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_image_type" id="input-cms-blog-image-type" class="form-control">
                    {% if cms_blog_image_type  ==  'l' %} 
                    <option value="l" selected="selected">{{ text_large }} </option>
                    {% else %}  
                    <option value="l">{{ text_large }} </option>
                    {% endif %} 
                    {% if cms_blog_image_type  ==  'm' %} 
                    <option value="m" selected="selected">{{ text_middle }} </option>
                    {% else %}  
                    <option value="m">{{ text_middle }} </option>
                    {% endif %}
                    {% if cms_blog_image_type  ==  's' %} 
                    <option value="s" selected="selected">{{ text_small }} </option>
                    {% else %}  
                    <option value="s">{{ text_small }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-title">{{ entry_cms_blog_show_title }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_title" id="input-cms-blog-show-title" class="form-control">
                    {% if cms_blog_show_title == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-image">{{ entry_cms_blog_show_image }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_image" id="input-cms-blog-show-image" class="form-control">
                    {% if cms_blog_show_image == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-author">{{ entry_cms_blog_show_author }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_author" id="input-cms-blog-show-author" class="form-control">
                    {% if cms_blog_show_author == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-category">{{ entry_cms_blog_show_category }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_category" id="input-cms-blog-show-category" class="form-control">
                    {% if cms_blog_show_category == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-product-related">{{ entry_cms_blog_show_product_related }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_product_related" id="input-cms-blog-show-product-related" class="form-control">
                    {% if cms_blog_show_product_related == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-product-scroll-related">{{ entry_cms_blog_product_scroll_related }} </label>
                <div class="col-sm-10">
                    <select name="cms_blog_product_scroll_related" id="input-cms-blog-product-scroll-related" class="form-control">
                        {% if cms_blog_product_scroll_related == '1' %} 
                        <option value="1" selected="selected">{{ text_enabled }} </option>
                        <option value="0">{{ text_disabled }} </option>
                        {% else %}   
                        <option value="1">{{ text_enabled }} </option>
                        <option value="0" selected="selected">{{ text_disabled }} </option>
                        {% endif %} 
                    </select>
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-product-per-row">{{ entry_cms_blog_product_related_per_row }} </label>
                <div class="col-sm-10">
                    <select name="cms_blog_product_related_per_row" id="input-cms-blog-product-per-row" class="form-control">
                        <option value="3" {{ cms_blog_product_related_per_row  ==  3 ? 'selected="selected"' : '' }}>3</option>
                        <option value="4" {{ cms_blog_product_related_per_row  ==  4 ? 'selected="selected"' : '' }}>4</option>
                        <option value="5" {{ cms_blog_product_related_per_row  ==  5 ? 'selected="selected"' : '' }}>5</option>
                        <option value="6" {{ cms_blog_product_related_per_row  ==  6 ? 'selected="selected"' : '' }}>6</option>
                    </select>
                </div>
            </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-blog-related">{{ entry_cms_blog_show_blog_related }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_blog_related" id="input-cms-blog-show-blog-related" class="form-control">
                    {% if cms_blog_show_blog_related == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                  <label class="col-sm-2 control-label" for="input-cms-blog-article-scroll-related">{{ entry_cms_blog_article_scroll_related }} </label>
                  <div class="col-sm-10">
                      <select name="cms_blog_article_scroll_related" id="input-cms-blog-article-scroll-related" class="form-control">
                          {% if cms_blog_article_scroll_related == '1' %} 
                          <option value="1" selected="selected">{{ text_enabled }} </option>
                          <option value="0">{{ text_disabled }} </option>
                          {% else %}   
                          <option value="1">{{ text_enabled }} </option>
                          <option value="0" selected="selected">{{ text_disabled }} </option>
                          {% endif %} 
                      </select>
                  </div>
              </div>
              
              <div class="form-group">
                  <label class="col-sm-2 control-label" for="input-cms-blog-article-per-row">{{ entry_cms_blog_article_related_per_row }} </label>
                  <div class="col-sm-10">
                      <select name="cms_blog_article_related_per_row" id="input-cms-blog-article-per-row" class="form-control">
                          <option value="3" {{ cms_blog_article_related_per_row  ==  3 ? 'selected="selected"' : '' }}>3</option>
                          <option value="4" {{ cms_blog_article_related_per_row  ==  4 ? 'selected="selected"' : '' }}>4</option>
                          <option value="5" {{ cms_blog_article_related_per_row  ==  5 ? 'selected="selected"' : '' }}>5</option>
                          <option value="6" {{ cms_blog_article_related_per_row  ==  6 ? 'selected="selected"' : '' }}>6</option>
                      </select>
                  </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-created-date">{{ entry_cms_blog_show_created_date }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_created_date" id="input-cms-blog-show-created-date" class="form-control">
                    {% if cms_blog_show_created_date == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-hits">{{ entry_cms_blog_show_hits }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_hits" id="input-cms-blog-show-hits" class="form-control">
                    {% if cms_blog_show_hits == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-comment-counter">{{ entry_cms_blog_show_comment_counter }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_comment_counter" id="input-cms-blog-show-comment-counter" class="form-control">
                    {% if cms_blog_show_comment_counter == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-comment-form">{{ entry_cms_blog_show_comment_form }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_comment_form" id="input-cms-blog-show-comment-form" class="form-control">
                    {% if cms_blog_show_comment_form == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-auto-publish-comment">{{ entry_cms_blog_show_auto_publish_comment }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_auto_publish_comment" id="input-cms-blog-show-auto-publish-comment" class="form-control">
                    {% if cms_blog_show_auto_publish_comment == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-comment-email">{{ entry_cms_blog_comment_email }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_comment_email" id="input-cms-blog-comment-email" class="form-control">
                    {% if cms_blog_comment_email == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-recaptcha">{{ entry_cms_blog_show_recaptcha }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_recaptcha" id="input-cms-blog-show-recaptcha" class="form-control">
                    {% if cms_blog_show_recaptcha == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-show-need-login-to-comment">{{ entry_cms_blog_show_need_login_to_comment }} </label>
                <div class="col-sm-10">
                  <select name="cms_blog_show_need_login_to_comment" id="input-cms-blog-show-need-login-to-comment" class="form-control">
                    {% if cms_blog_show_need_login_to_comment == '1' %} 
                    <option value="1" selected="selected">{{ text_yes }} </option>
                    <option value="0">{{ text_no }} </option>
                    {% else %}   
                    <option value="1">{{ text_yes }} </option>
                    <option value="0" selected="selected">{{ text_no }} </option>
                    {% endif %} 
                  </select>
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-brief-length"><span data-toggle="tooltip" title="{{ help_cms_blog_brief_length }}">{{ entry_cms_blog_brief_length }} </span></label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_brief_length" value="{{ cms_blog_brief_length }}" placeholder="{{ entry_cms_blog_brief_length }}" id="input-cms-blog-brief-length" class="form-control" />
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-sm-2 control-label" for="input-cms-blog-comment-length"><span data-toggle="tooltip" title="{{ help_cms_blog_comment_length }}">{{ entry_cms_blog_comment_length }} </span></label>
                <div class="col-sm-10">
                  <input type="text" name="cms_blog_comment_length" value="{{ cms_blog_comment_length }}" placeholder="{{ entry_cms_blog_comment_length }}" id="input-cms-blog-comment-length" class="form-control" />
                </div>
              </div>

            </div>
            
          </div>
        </form>
      </div>
    </div>
  </div>
  <script type="text/javascript"><!--
{% for language in languages %} 
$('#input-description{{ language.language_id }}').summernote({
	height: 300
});
{% endfor %} 
//--></script> 
  <script type="text/javascript"><!--
$('#language a:first').tab('show');
//--></script></div>
{{ footer }} 